package com.lianniu.mgr.demand.service;

import com.lianniu.mgr.base.BaseResult;
import com.lianniu.mgr.demand.vo.*;
import com.lianniu.mgr.pagination.PaginationInfo;
import org.apache.ibatis.annotations.Param;

/**
 * Created by Administrator on 2017-05-14.
 */
public interface IDemandService {

    public BaseResult getDemandListForPage(DemandConditionVo condition, PaginationInfo paginationInfo) ;

    public BaseResult updateDemandDelFlag(String demandID);

    public BaseResult getDemandById(String demandId);

    public BaseResult modifyDemand(DemandVo demandVo,DemandDetailVo demandDetailVo);

    public BaseResult getDemandSupplyListForPage(DemandSupplyConditionVo condition, PaginationInfo paginationInfo) ;

    public BaseResult updateDemandSupplyDelFlag(String id);

    public BaseResult getDemandSupplyById(String id);

    public BaseResult modifyDemandSupply(DemandSupplyVo demandSupplyVo);

}
